<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Publish_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-publish_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" disabled type="text" value="{:$row.publish_time?datetime($row.publish_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Time_start')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-time_start" data-rule="required" class="form-control" disabled value="{$row.time_start|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Time_end')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-time_end" data-rule="required" class="form-control" disabled value="{$row.time_end|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Work_content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-work_content" class="form-control editor" rows="5" name="row[work_content]" cols="50">{$row.work_content|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tomorrow_plan')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-tomorrow_plan" class="form-control " rows="5" name="row[tomorrow_plan]" cols="50">{$row.tomorrow_plan|htmlentities}</textarea>
        </div>
    </div>
    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Attach_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-attach_id" data-rule="required" data-source="attach/index" class="form-control selectpage" name="row[attach_id]" type="text" value="{$row.attach_id|htmlentities}">
        </div>
    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Check_status')}:</label>
        <div class="col-xs-12 col-sm-4">
            {if $row.check_status == 0}
            <select id="check_status" class="form-control selectpicker" name="row[check_status]">
                <option value="0">请选择</option>
                <option value="1"{if $row.check_status == 1} selected="selected"{/if}>通过</option>
                <option value="2"{if $row.check_status == 2} selected="selected"{/if}>拒绝</option>
            </select>
            {else /}
            <select id="check_status" class="form-control selectpicker" disabled>
                <option value="0">请选择</option>
                <option value="1"{if $row.check_status == 1} selected="selected"{/if}>通过</option>
                <option value="2"{if $row.check_status == 2} selected="selected"{/if}>拒绝</option>
            </select>
            {/if}
        </div>
    </div>
    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pass_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pass_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[pass_time]" type="text" value="{:$row.pass_time?datetime($row.pass_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refuse_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refuse_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[refuse_time]" type="text" value="{:$row.refuse_time?datetime($row.refuse_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Project_assign_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-project_assign_id" data-rule="required" data-source="project/assign/index" class="form-control selectpage" name="row[project_assign_id]" type="text" value="{$row.project_assign_id|htmlentities}">
        </div>
    </div>-->
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
